package org.binglan.youziyuepai.service;

import org.binglan.youziyuepai.entity.Occupation;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 有关约拍职业表 服务类
 * </p>
 *
 * @author sanjin
 * @since 2019-04-09
 */
public interface OccupationService extends IService<Occupation> {

    /**
     * 判断 ids 是否存在
     * @param occupationIds
     * @return
     */
    boolean isExistsIds(List<Integer> occupationIds);

    String queryNameById(Integer occupationId);

    /**
     * 获取所有职业接口
     * @return
     */
    List<Occupation> queryAllOccupation();

    Occupation queryOccupationById(Integer occupationId);
}
